using System;
using System.Collections.Generic;
using System.Text;
using SqlSugar;

namespace NP.BPMReportPlatform.Entities.BPM_Business
{
    /// <summary>
    /// 境外来华实体
    /// </summary>
    [SugarTable("CourseAbroadToChina")]
    public class CourseAbroadToChinaEntity
    {
        /// <summary>
        /// 境外来华ID
        /// </summary>
        [SugarColumn(ColumnName = "AbroadId", IsPrimaryKey = true)]
        public string AbroadId { get; set; }

        /// <summary>
        /// 护照信息
        /// </summary>
        [SugarColumn(ColumnName = "PassportInfo")]
        public string PassportInfo { get; set; }

        /// <summary>
        /// 受训员工姓名
        /// </summary>
        public string TrainUserName { get; set; }

        /// <summary>
        /// 派遣公司
        /// </summary>
        [SugarColumn(ColumnName = "Company")]
        public string Company { get; set; }

        /// <summary>
        /// 部门
        /// </summary>
        [SugarColumn(ColumnName = "DepartMent")]
        public string DepartMent { get; set; }

        /// <summary>
        /// 职务
        /// </summary>
        [SugarColumn(ColumnName = "Duty")]
        public string Duty { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        [SugarColumn(ColumnName = "BeginTime")]
        public DateTime? BeginTime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        [SugarColumn(ColumnName = "EndTime")]
        public DateTime? EndTime { get; set; }

        /// <summary>
        /// 附件
        /// </summary>
        [SugarColumn(ColumnName = "AttchMentId")]
        public string AttchMentId { get; set; }

        /// <summary>
        /// 附件名称
        /// </summary>
        [SugarColumn(ColumnName = "AttchMentName")]
        public string AttchMentName { get; set; }

        /// <summary>
        /// 发起人姓名
        /// </summary>
        public string CreateUserName { get; set; }

        /// <summary>
        /// 发起人工号
        /// </summary>
        public string WorkNumber { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
    }
}
